package com.example.housebiz.mapper;

import com.example.housecommon.model.Agency;
import com.example.housecommon.model.User;
import com.example.housecommon.page.PageParams;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-05-26
 **/
public interface AgencyMapper {


    List<Agency> select(Agency agency);

    int insert(Agency agency);

    List<User> selectAgent(@Param("user")User user,@Param("pageParams")PageParams pageParams);

    Long selectAgentCount(@Param("user")User user);

}


